//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.farm.doc.server;

import com.farm.core.auth.domain.LoginUser;
import com.farm.core.sql.result.DataResult;
import com.farm.doc.domain.Docpubmessage;
import java.sql.SQLException;
import java.util.List;
import java.util.Map;

public interface PubmessageServiceInter {
    Docpubmessage sendAnswering(String var1, String var2, PubmessageServiceInter.APPTYPE var3, String var4, LoginUser var5);

    DataResult getMessages(String var1, int var2, int var3);

    Docpubmessage approveOf(String var1, LoginUser var2);

    Docpubmessage oppose(String var1, LoginUser var2);

    void reply(String var1, String var2, String var3, LoginUser var4);

    List<Map<String, Object>> getReplys(String var1, String var2);

    DataResult getDocmessageByUser(String var1, Integer var2, Integer var3) throws SQLException;

    DataResult getNewPublicDocMessages(int var1);

    void del(String var1, LoginUser var2);

    Docpubmessage getEntity(String var1);

    public static enum APPTYPE {
        USER("USER"),
        DOCGROUP("DOCGROUP");

        private final String flag;

        private APPTYPE(String mark) {
            this.flag = mark;
        }

        public String getVar() {
            return this.flag;
        }
    }
}
